package com.forenow.demo.Book;

public class Book {
    int bookid;
    String bookname;
    Double price;
    int amount;
    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }


    public Book(int bookid, String bookname, Double price, int amount) {
        this.bookid = bookid;
        this.bookname = bookname;
        this.price = price;
        this.amount = amount;
    }

    public Book() {
        this.bookid = bookid;
        this.bookname = bookname;
        this.price = price;
        this.amount = amount;
    }
}
